/*
 * LocalServer.cpp
 *
 *  Created on: Nov 21, 2014
 *      Author: toti
 */

#include <Network/LocalServer.hpp>

LocalServer::LocalServer(TCPConnection *tcpConnection) :
		LocalNode(tcpConnection, LocalNode::LOCAL_NODE_SERVER) {

	localServerState = UNREGISTERED;

}


MessagePackage *LocalServer::buildPackage(std::string& input) {

	ServerMessagePackage *package = new ServerMessagePackage(this, input);
	package->parseMessageString();
	return package;

}


